<?php
/**
 * @version      BOSSCMS-Free
 * @trademark    BOSSCMS
 * @copyright    Copyright © by BOSSCMS-Free (https://www.bosscms.net/) 保留所有权利
 * @license      https://gitee.com/Greenpeas/BOSSCMS/license/ 和 https://www.bosscms.net/freelicense/
 * @link         https://www.bosscms.net/
 * @author       温州软界网络技术有限公司
**/
defined('IS_OK') or exit('Access Forbidden');
?>
<section class="iframe content" <?php echo is_numeric($_COOKIE['iframeContentX'])?'style="width:'.$_COOKIE['iframeContentX'].'px;"':''; ?>>
  <span class="move"></span>
  <section class="navsub tree" tree="iframe" cookie="iframeContentTreeLi">
    <div>
      <?php if(!preg_match('/items|layers|view/',BOSSCMS_MOLD)){ ?>
      <a class="fa fa-close" href="javascript:;"></a>
      <?php } ?>
      <h2 class="treecheck" tree="iframe">
        <em class="fa fa-expand"></em>
        <em class="fa fa-compress"></em>
        <span><u>展开</u><i>折叠</i>栏目</span>
      </h2>
      <ul>
      <?php
      foreach($data as $v){
      ?>
        <li class="<?php echo $v['on']; ?>" level="<?php echo $v['level']; ?>" items="<?php echo $v['id']; ?>" it="<?php echo $v['id']; ?>">
          <span lv><b></b></span>
          <a href="<?php echo $v['url']; ?>"><?php echo $v['name']; ?></a>
        </li>
      <?php
      }
      ?>
      </ul>
    </div>
  </section>
</section>